package com.mini.es.repository;

import com.mini.es.model.EsBusinessStudentOrderInfo;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * @author: anjl
 * @description:
 * @data: 2021/2/26
 **/
@Repository
public interface EsBusinessStudentOrderInfoRepository extends ElasticsearchRepository<EsBusinessStudentOrderInfo, String> {

    Integer countByOrderPayTimeBetween(long startTime, long endTime);

    Integer countByMysqlUpdateTimeBetween(long time, long time1);
}
